#pragma once
#include <IGame/IGame.h>
#include <IGame/IGameObject.h>

typedef IGameMesh iMaxMesh;
class iMeshObject
{
public:
	enum eMeshType
	{
		eIGAME_TYPE,
		eTRIOBJ_TYPE = 0x0009,
		eEDITTRIOBJ_TYPE = 0xe44f10b3,
		ePOLYOBJ_TYPE = 0x5d21369a,
	};
public:
	iMeshObject(void);
	~iMeshObject(void);
	void SetMeshType( eMeshType nType );
	int GetNumVerts();
	int GetNumFaces();
	int GetNumTexVerts();
	//int GetMtrlNum();

public:
	iMaxMesh* m_pMesh;

protected:
	eMeshType m_nMeshType;
};

#include "iMeshObject.inl"